package dongshi.daddy.service.externalconfig;

import com.alibaba.dubbo.config.spring.context.annotation.DubboComponentScan;
import com.alibaba.dubbo.config.spring.context.annotation.EnableDubboConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
// 开启外部化配置
@EnableDubboConfig
// 配置扫描
@DubboComponentScan(basePackageClasses = { MyExternalConfigService.class })
@PropertySource("externalconfig/externalConfigInfo.properties")
public class MyExternalServiceConfiguration {
}
